using ChuTiJingTai.Models;

namespace ChuTiJingTai.Services
{
    /// <summary>
    /// 日志服务接口
    /// </summary>
    public interface ILogService
    {
        Task LogInfoAsync(string message, string module = "", string? details = null);
        Task LogWarningAsync(string message, string module = "", string? details = null);
        Task LogErrorAsync(string message, string module = "", string? details = null);
        Task LogDebugAsync(string message, string module = "", string? details = null);
        
        Task<List<LogEntry>> GetLogsAsync();
        Task<List<LogEntry>> GetLogsByLevelAsync(string level);
        Task ClearLogsAsync();
        Task<string> ExportLogsAsync();
    }
} 